class Animal:
    def eat(self):
        pass


class Dog(Animal):
    def eat(self):
        print("狗子爱吃骨头")


class Cat(Animal):
    def eat(self):
        print("猫爱吃鱼")

dog = Dog()
dog.eat()
cat = Cat()
cat.eat()
